home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / C⁄C++ OS8 / Everything / DModelessBarsData.h < prev    next >
Encoding:
Text File  |  1998-09-06  |  2.6 KB  |  109 lines  |  [TEXT/CWIE]

  1. // DModelessBarsData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7.  
  8. const long    idBars3        = 'Bar4';
  9. const long    idStandard8        = 'Sta8';
  10. const long    idGraphic6        = 'Gra6';
  11. const long    idSlider3        = 'Sli3';
  12. const long    idTickMarks3        = 'Tic3';
  13. const long    idNonDirectional3        = 'Non3';
  14. const long    idLittleArrows3        = 'Lit3';
  15. const long    idSpinner3        = 'Spi3';
  16. const long    idVolumeControl3        = 'Vol3';
  17. const long    idJimSSlider3        = 'Jim3';
  18. const long    idStandard9        = 'Sta9';
  19. const long    idIndeterminate3        = 'Ind3';
  20. const long    idChasingArrows3        = 'Cha3';
  21. const long    idRectangle3        = 'Rec3';
  22. const long    idRoundRect3        = 'Rou4';
  23. const long    idBarberPole3        = 'Bar5';
  24. const long    idRoundBarber3        = 'Rou5';
  25.  
  26. class AMEngine;
  27.  
  28. //----------
  29. class DModelessBarsData : public AMSignaler {
  30. public:
  31.                 DModelessBarsData ();
  32.     virtual        ~DModelessBarsData ();
  33.  
  34. public:
  35.     void        ReadFromFile    (AMEngine*        engine);
  36.     void        WriteToFile        (AMEngine*        engine);
  37.  
  38. public:
  39.     UInt16        GetBars3 () const;
  40.     void        SetBars3    (UInt16        inValue);
  41.  
  42.     SInt16        GetStandard8 () const;
  43.     void        SetStandard8    (SInt16        inValue);
  44.  
  45.     SInt16        GetGraphic6 () const;
  46.     void        SetGraphic6    (SInt16        inValue);
  47.  
  48.     SInt16        GetSlider3 () const;
  49.     void        SetSlider3    (SInt16        inValue);
  50.  
  51.     SInt16        GetTickMarks3 () const;
  52.     void        SetTickMarks3    (SInt16        inValue);
  53.  
  54.     SInt16        GetNonDirectional3 () const;
  55.     void        SetNonDirectional3    (SInt16        inValue);
  56.  
  57.     SInt16        GetLittleArrows3 () const;
  58.     void        SetLittleArrows3    (SInt16        inValue);
  59.  
  60.     SInt16        GetSpinner3 () const;
  61.     void        SetSpinner3    (SInt16        inValue);
  62.  
  63.     SInt16        GetVolumeControl3 () const;
  64.     void        SetVolumeControl3    (SInt16        inValue);
  65.  
  66.     SInt16        GetJimSSlider3 () const;
  67.     void        SetJimSSlider3    (SInt16        inValue);
  68.  
  69.     SInt16        GetStandard9 () const;
  70.     void        SetStandard9    (SInt16        inValue);
  71.  
  72.     SInt16        GetIndeterminate3 () const;
  73.     void        SetIndeterminate3    (SInt16        inValue);
  74.  
  75.     SInt16        GetChasingArrows3 () const;
  76.     void        SetChasingArrows3    (SInt16        inValue);
  77.  
  78.     SInt16        GetRectangle3 () const;
  79.     void        SetRectangle3    (SInt16        inValue);
  80.  
  81.     SInt16        GetRoundRect3 () const;
  82.     void        SetRoundRect3    (SInt16        inValue);
  83.  
  84.     SInt16        GetBarberPole3 () const;
  85.     void        SetBarberPole3    (SInt16        inValue);
  86.  
  87.     SInt16        GetRoundBarber3 () const;
  88.     void        SetRoundBarber3    (SInt16        inValue);
  89.  
  90. protected:
  91.     UInt16        mBars3;
  92.     SInt16        mStandard8;
  93.     SInt16        mGraphic6;
  94.     SInt16        mSlider3;
  95.     SInt16        mTickMarks3;
  96.     SInt16        mNonDirectional3;
  97.     SInt16        mLittleArrows3;
  98.     SInt16        mSpinner3;
  99.     SInt16        mVolumeControl3;
  100.     SInt16        mJimSSlider3;
  101.     SInt16        mStandard9;
  102.     SInt16        mIndeterminate3;
  103.     SInt16        mChasingArrows3;
  104.     SInt16        mRectangle3;
  105.     SInt16        mRoundRect3;
  106.     SInt16        mBarberPole3;
  107.     SInt16        mRoundBarber3;
  108. };
  109.